<script>
import {isMiddleRole, isOneShippingRole} from "@/utils/common";

export default {
  name: "LabelOrderAlert",
  methods: {isMiddleRole, isOneShippingRole}
}
</script>

<template>
  <el-alert
    :title="$t('labelOrder.当前工单存在未处理的贴标工单，请先处理贴标工单后再操作确认入库')"
    type="warning"
    show-icon
    class="mgb10"
    v-if="isOneShippingRole() || isMiddleRole()"
  >
  </el-alert>
</template>

<style scoped lang="scss">

</style>
